Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Option to Enable/Disable Screen Capture #1418

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

denizt
Copy link
Contributor

@denizt denizt commented Sep 16, 2024

Veracrypt currently appears in screenshots and screen captures, which can unintentionally expose sensitive information, such as the fact that Veracrypt is running or the location of your volumes.

Both Windows and macOS offer mechanisms to exclude specific windows from being captured. While not foolproof, this is a useful preventative measure. The method is a no-op for Linux/FreeBSD.

For more details on the wxWidgets API, see: wxTopLevelWindow::SetContentProtection

Veracrypt currently appears in screenshots and screen captures,
which can unintentionally expose sensitive information, such as
the fact that Veracrypt is running or the location of your volumes.

Both Windows and macOS offer mechanisms to exclude specific windows
from being captured. While not foolproof, this is a useful preventative
measure. The method is a no-op for Linux/FreeBSD.

For more details on the wxWidgets API, see:
https://docs.wxwidgets.org/3.2/classwx_top_level_window.html#a337b9cec62b0cbd3b1b1545a83270f64
@idrassi
Copy link
Member

idrassi commented Sep 16, 2024

Thank you for this interesting contribution. It definitely makes sense to protect against screenshots by default.

I will merge this PR, although I plan to keep the allow-screencapture switch support only for macOS and Windows to avoid confusion for Linux users.

By the way, VeraCrypt for Windows doesn't use wxWidgets, but it would be useful to have this feature in Windows. I will check the source code of wxWidgets for inspiration on how to implement it.

@idrassi idrassi merged commit e0a46f6 into veracrypt:master Sep 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants